package com.ease.dao.ibatis.typehandler;

import com.ease.common.enums.TextualEnum;

/**
 * 
 * @author nathanleewei
 * 
 */
public class ParameterizedTextualEnumTypeHandler<T extends TextualEnum> extends TextualEnumTypeHandler<T> {

	public static <T extends TextualEnum> ParameterizedTextualEnumTypeHandler<T> newInstance(Class<T> mappedClass) {
		ParameterizedTextualEnumTypeHandler<T> newInstance = new ParameterizedTextualEnumTypeHandler<T>();
		newInstance.setMappedClass(mappedClass);
		return newInstance;
	}
}
